/**
 * 
 */
define(function(require, exports) {
	exports.loadComponent = function(){
		var div = $('<div/>').attr('id','loading').addClass('ui-widget-overlay');
		var img = $('<div/>').css({
			position:'absolute',
			left:'50%',
			top:'50%',
			fontSize:'40px',
			fontWeight:'bold'
		});
		img.html('loading...');
		div.append(img);
		div.hide();
		return div;
	};
	
	exports.load = function(url, id){
		$('#'+id).load(url);
	};

});